Skip to content

Conversation

@rachelmcr
Copy link
Contributor

Description

This enables performance monitoring in production, sampling 1% of transactions. We're enabling this to record baseline measurements for future performance improvements.

Related (internal ref): pdnsEh-1a1-p2

Testing instructions

You can confirm the monitoring is working by installing the alpha build from this PR (which also has performance monitoring enabled), navigating the app, and checking Sentry > Performance for transactions.


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@rachelmcr rachelmcr added the category: performance Related to performance such as slow loading. label May 24, 2023
@rachelmcr rachelmcr added this to the 13.8 milestone May 24, 2023
@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr9809-a3d8827 on your iPhone

If you need access to App Center, please ask a maintainer to add you.


return .enabled(
.init(
// FIXME: Is there a way to control this via feature flags?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About usage of feature flags - on WCAndroid we recently disabled this feature as we were relying on Firebase Remote Config for that.

But for the future, I think it might be valuable to set performance sampling to use our in-house feature flag system (when it'll be integrated).

@spencertransier spencertransier modified the milestones: 13.8, 13.9 May 26, 2023
@mokagio mokagio self-requested a review May 29, 2023 11:04
@rachelmcr
Copy link
Contributor Author

Closing this draft PR for now, since there's more work needed to implement this monitoring and it's unclear when we'll prioritize that.

@rachelmcr rachelmcr closed this Jun 2, 2023
@rachelmcr rachelmcr deleted the try/enable-performance-monitoring branch March 27, 2024 13:42
@mokagio
Copy link
Contributor

mokagio commented Nov 26, 2024

Just for future reference, this ended up being implemented via #7831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: performance Related to performance such as slow loading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants